import PatientInformation from './components/prescriptions/PatientInformation.vue'
import Prescription from './components/prescriptions/Prescription.vue'
import DrugInformation from './components/prescriptions/DrugInformation.vue'
import WesternMedicine from './components/prescriptions/WesternMedicine.vue'
import MedicalRecords from './components/prescriptions/MedicalRecords.vue'
import Workstation from './components/workstation/workstation.vue'

const routers = [
  { path: '/workstation', component: Workstation },
  { path: '/', component: PatientInformation },
  { path: '/prescription', component: Prescription,
    children: [
      { path: '/western_medicine', component: WesternMedicine }
    ]
  },
  { path: '/drug_information', component: DrugInformation },
  { path: '/medical_records', component: MedicalRecords }
]

export default routers